package pojo.entity;

import java.util.Date;

public class OrderGood {
    private Long orderNumber;//订单id
    private Long goodId;//商品id
    private Integer goodCount;//商品数量
    private Date createTime;//创建时间

    @Override
    public String toString() {
        return "OrderGood{" +
                "orderNumber=" + orderNumber +
                ", goodId=" + goodId +
                ", goodCount=" + goodCount +
                ", createTime=" + createTime +
                '}';
    }

    public Long getOrderNumber() {
        return orderNumber;
    }

    public void setOrderNumber(Long orderNumber) {
        this.orderNumber = orderNumber;
    }

    public Long getGoodId() {
        return goodId;
    }

    public void setGoodId(Long goodId) {
        this.goodId = goodId;
    }

    public Integer getGoodCount() {
        return goodCount;
    }

    public void setGoodCount(Integer goodCount) {
        this.goodCount = goodCount;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public OrderGood(Long orderNumber, Long goodId, Integer goodCount, Date createTime) {
        this.orderNumber = orderNumber;
        this.goodId = goodId;
        this.goodCount = goodCount;
        this.createTime = createTime;
    }

    public OrderGood() {
    }
}
